<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>上海联通营销责任-APP</title>
</head>
<body>
<h1>如果用微信浏览器打开可以看到下面的文字</h1>
<p></p>
</body>
</html>
<script type="text/javascript">
window.onload = function(){
    if(isWeiXin()){
    //var p = document.getElementsByTagName('p');
	//p[0].innerHTML = window.navigator.userAgent;
	window.location.href= 'http://112.64.16.239:9040/pms-wap/app-install.html'; 
	}
}
function isWeiXin(){
	var ua = window.navigator.userAgent.toLowerCase();
	if(ua.match(/MicroMessenger/i) == 'micromessenger'){
		return true;
	}else{
		return false;
	}
}
</script> 